package com.bc.bccore.eos;


import io.jafka.jeos.EosApi;
import io.jafka.jeos.EosApiFactory;
import io.jafka.jeos.LocalApi;
import io.jafka.jeos.impl.EosApiRestClientImpl;

import java.sql.SQLOutput;

public class EosClient {

    private static EosClient client = new EosClient();
    private static EosApi eosApi;
    private static LocalApi localApi;

    static {
        eosApi = EosApiFactory.create("http://jungle2.cryptolions.io:8888");
        localApi = EosApiFactory.createLocalApi();
    }

    public static EosClient getInstance() {
        return client;
    }

    public void createNewWallet(String name) {
    }

    public void getAccountInfo(String name) {
        System.out.println(eosApi.getChainInfo());
    }

    public void getInfo() {
    }


}
